package com.bw.my.mvvm.model.entity.usergreendao;

import org.greenrobot.greendao.AbstractDaoSession;

public class DaoSessionUtils {

    private static DaoSessionUtils sessionUtils;

    public static DaoSessionUtils getInstance(){
        if (sessionUtils == null){
            sessionUtils = new DaoSessionUtils();
        }
        return sessionUtils;
    }

    private AbstractDaoSession session;

    public void setSession(AbstractDaoSession session) {
        this.session = session;
    }

    public AbstractDaoSession getSession() {
        return session;
    }
}
